package com.tkp.service.impl;

import com.tkp.config.UserTypeEnum;
import com.tkp.interfaceU.UserType;
import com.tkp.service.UserPayService;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @Author: duk
 * @Date: 2021/10/29 15:37
 * @Description: VIP用户实现
 */
@Service
@UserType(UserTypeEnum.VIP_USER)
public class VipUserPayServiceRegisterImpl implements UserPayService {
    @Override
    public BigDecimal quotePrice(BigDecimal orderPrice) {
        System.out.println("VIP优惠价格");
        return orderPrice;
    }
}



